package com.totowoo.shirodemo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class AdminController {

	private static final Logger log = LoggerFactory.getLogger(ShiroController.class);

	@GetMapping("/admin/index.html")
	public String index() {
		return "admin/index";
	}

	@GetMapping("/admin/menu.html")
	public String menu() {
		return "admin/menu";
	}

	@GetMapping("/admin/main.html")
	public String main() {
		return "admin/main";
	}
	
	@GetMapping("/admin/userList.html")
	public String userList() {
		return "admin/userList";
	}
	
	@GetMapping("/admin/addUser.html")
	public String addUser() {
		return "admin/addUser";
	}
}
